<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <%@ include file="/common/plateform/include/common-base.jsp" %>

    <title>插件组合管理</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
          name="viewport">
</head>
<body class="hold-transition ${sysColor} sidebar-mini">
<div class="wrapper">

    <!-- top start -->
    <%@include file="/common/plateform/top.jsp" %>
    <!-- top end -->
    <!-- left start -->
    <%@include file="/common/plateform/left-project.jsp" %>
    <!-- left end-->
    <div class="content-wrapper">

        <!-- Main start -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <!--搜索  start -->
                    <div class="box box-info">
                        <!--搜索title  start -->
                        <div class="box-header with-border">
                            <h3 class="box-title"><i class="fa fa-search"></i> 插件组合管理搜索</h3>
                            <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool"
                                        data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                                <button type="button" class="btn btn-box-tool" data-widget="remove">
                                    <i class="fa fa-times"></i></button>
                            </div>
                        </div>
                        <!--搜索title  end -->
                        <div class="box-body">
                            <form id="searchForm" class="form-horizontal" action="javascript:;">
                                <input type="hidden" name="pageName" value="sysPluginGroup-list"/>
                                <input type="hidden" name="formName" value="searchForm">
                                <%--<input type="hidden" name="sysPluginGroup.w_delStatus" value="F"/>--%>
                                <input type="hidden" name="orderBy" value="rules_code"/>
                                <input type="hidden" name="sysPluginGroup.w_sysName" class="sysEname" value=""/>
                                <div class="form-group">
                                    <div class="col-sm-2 text-right"><label class="control-label">代码：</label>
                                    </div>
                                    <div class="col-sm-2">
                                        <input type="text" class="form-control clean"
                                               name="sysPluginGroup.wl_rulesCode" value=""/>
                                    </div>
                                    <div class="col-sm-1 text-right"><label class="control-label">描述：</label>
                                    </div>
                                    <div class="col-sm-3">
                                        <input type="text" class="form-control clean"
                                               name="sysPluginGroup.wl_rulesRemark" value=""/>
                                    </div>
                                    <div class="col-sm-1 text-right"><label class="control-label">类别：</label>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="form-group">
                                            <select id="searchForm_pluginType"
                                                    name="sysPluginGroup.w_rulesType"
                                                    class="form-control  clean"
                                                    data-temp-obj="sysPluginGroup.rulesType"
                                                    data-dict-code="dictItemList"
                                                    data-dict-cate="pluginType"
                                                    data-type-tag="select" data-def="">
                                                <option value="">--请选择--</option>
                                            </select></div>
                                    </div>
                                </div>
                                <center>
                                    <div class="box-footer clearfix">
                                        <button type="button" class="btn btn-success"
                                                onclick="getTableData();"><i
                                                class="fa fa-search"></i> 查询
                                        </button>&nbsp;
                                        <button type="button" class="btn btn-warning"
                                                onclick="mytools.cleanData('#searchForm');">重置
                                        </button>
                                        <button type="button" class="btn btn-danger" onclick="loadCache();">数据同步 </button>
                                    </div>
                                </center>
                            </form>
                        </div>
                    </div>
                    <!-- 搜索 end -->


                    <div class="box box-success">
                        <!--列表title  start -->
                        <div class="box-header with-border">
                            <h3 class="box-title">插件组合管理列表 [<span id="span-sysname-text"></span>] [共计<span
                                    id="dataListTotalCount">0</span>条数据]&nbsp;&nbsp;
                                　　　
                                <button onclick="toAdd();" class="btn btn-success" type="button"><i
                                        class="fa fa-plus-circle"></i> 增加
                                </button>
                            </h3>
                            <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool"
                                        data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                            </div>
                        </div>
                        <!--列表title  end -->
                        <div class="box-body">
                            <table id="dataList" class="table table-bordered table-hover">
                                <thead class="bg-success">
                                <tr>
                                    <th>序号</th>
                                    <th>组合规则代码</th>
                                    <th>组合规则类型</th>
                                    <th>组合规则描述</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody id="dataList-body">
                                </tbody>
                            </table>
                            <center>
                                <ul id="dataList-page"></ul>
                            </center>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- Main end -->

        <div class="modal fade" id="my_modal" tabindex="-1" role="dialog"
             aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog" style="width:80%;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title">
                            <font color="red">信息添加/修改</font>&nbsp;
                        </h4>
                    </div>
                    <div class="modal-body">
                        <form class="form-horizontal" role="form" id="addForm" action="javascript:;">
                            <input type="hidden" name="pageName" value="sysPluginGroup-list"/>
                            <input type="hidden" name="formName" value="addForm">
                            <input type="hidden" id="w_rulesId" data-name="sysPluginGroup.rulesId" name="sysPluginGroup.w_rulesId" value="${param.rulesId}"/>
                            <input type="hidden" id="formToken" name="formToken" value="${formToken}">
                            <%-- <input id="createUser" name="createUser" type="hidden" value="${loginUser.deptCname}" /> --%>
                            <input type="hidden" id="delStatus" name="sysPluginGroup.delStatus" value="F"/>
                            <input type="hidden" name="sysPluginGroup.sysName" class="sysEname" value=""/>
                            <div class="box-body" id="submitFormData">
                                <!-- Custom Tabs -->
                                <div class="nav-tabs-custom">
                                    <!-- <ul class="nav nav-tabs">
                                      <li class="active"><a href="#tab_1" data-toggle="tab">基本信息</a></li>
                                    </ul> -->
                                    <div class="tab-content">
                                        <div class="tab-pane active" id="tab_1">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">组合规则代码</label>
                                                <div class="col-sm-10">
                                                    <input type="text" id="submitFormData_rulesCode"
                                                           name="sysPluginGroup.rulesCode"
                                                           maxlength="20" class="form-control clean"
                                                           data-name="sysPluginGroup.rulesCode"
                                                           data-bv-notempty="true"
                                                           data-bv-notempty-message="此项不能为空"
                                                           placeholder="必填项，英文简称"
                                                           data-bv-regexp="true"
                                                           data-bv-regexp-regexp="^[0-9a-zA-Z]+$"
                                                           data-bv-regexp-message="必须是字母、数字">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">组合规则名称</label>
                                                <div class="row">
                                                    <div class="col-sm-4">
                                                        <select name="from[]" id="search"
                                                                class="form-control clean" size="8"
                                                                multiple="multiple"
                                                                data-bv-notempty="false">
                                                        </select>
                                                    </div>

                                                    <div class="col-sm-1">
                                                        <button type="button" id="search_rightAll"
                                                                class="btn btn-block"><i
                                                                class="glyphicon glyphicon-forward"></i>
                                                        </button>
                                                        <button type="button"
                                                                id="search_rightSelected"
                                                                class="btn btn-block"><i
                                                                class="glyphicon glyphicon-chevron-right"></i>
                                                        </button>
                                                        <button type="button"
                                                                id="search_leftSelected"
                                                                class="btn btn-block"><i
                                                                class="glyphicon glyphicon-chevron-left"></i>
                                                        </button>
                                                        <button type="button" id="search_leftAll"
                                                                class="btn btn-block"><i
                                                                class="glyphicon glyphicon-backward"></i>
                                                        </button>
                                                    </div>
                                                    <div class="col-sm-4">
                                                        <select name="to[]" id="search_to"
                                                                class="form-control clean" size="8"
                                                                multiple="multiple"></select>
                                                        <div class="row">
                                                            <div class="col-sm-6">
                                                                <button type="button"
                                                                        id="search_move_up"
                                                                        class="btn btn-block"><i
                                                                        class="glyphicon glyphicon-arrow-up"></i>
                                                                </button>
                                                            </div>
                                                            <div class="col-sm-6">
                                                                <button type="button"
                                                                        id="search_move_down"
                                                                        class="btn btn-block col-sm-6">
                                                                    <i class="glyphicon glyphicon-arrow-down"></i>
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <br/>
                                                <div class="col-xs-2">
                                                </div>
                                                <div class="col-sm-10">
                                                    <textarea id="rulesName"
                                                              class="form-control clean"
                                                              name="sysPluginGroup.rulesName"
                                                              data-name="sysPluginGroup.rulesName"
                                                              rows="3" cols="50"
                                                              data-bv-notempty="true"
                                                              data-bv-notempty-message="此项不能为空"
                                                              placeholder="必填项，英文简称"
                                                              data-bv-regexp="true"
                                                              data-bv-regexp-regexp="^[0-9a-zA-Z,]{1,}$"
                                                              data-bv-regexp-message="必须是字母、数字、逗号"></textarea>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">组合规则类型</label>
                                                <div class="col-sm-10">
                                                    <div class="form-group">
                                                        <select id="addForm_pluginType"
                                                                data-bv-notempty="true"
                                                                data-bv-notempty-message="此项不能为空"
                                                                name="sysPluginGroup.rulesType"
                                                                class="form-control  clean"
                                                                data-temp-obj="sysPluginGroup.rulesType"
                                                                data-dict-code="dictItemList"
                                                                data-dict-cate="pluginType"
                                                                data-name="sysPluginGroup.rulesType"
                                                                data-type-tag="select" data-def="">
                                                            <option value="">--请选择--</option>
                                                        </select></div>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">业务描述</label>
                                                <div class="col-sm-10">
                                                    <textarea id="rulesRemark"
                                                              class="form-control clean"
                                                              name="sysPluginGroup.rulesRemark"
                                                              data-name="sysPluginGroup.rulesRemark"
                                                              rows="3" cols="50"
                                                              data-bv-notempty="true"
                                                              data-bv-notempty-message="此项不能为空"
                                                              placeholder="必填项，中文描述"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- /.tab-pane -->
                                    </div>
                                    <!-- /.tab-content -->
                                </div>
                                <!-- nav-tabs-custom -->
                            </div>
                            <div class="box-footer">
                                <button type="button" class="btn btn-success pull-left"
                                        onclick="cannel();">取消
                                </button>
                                <button type="button" class="btn btn-danger pull-right"
                                        onclick="save();">提 交
                                </button>
                            </div>
                        </form>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
        </div>

        <script type="text/template" id="dataList-template">
            <? for ( var i = 0; i < rows.length; i++) {?>
            <tr>
                <td style="display:none;"><?=rows[i].sysPluginGroup.rulesId?></td>
                <td><?=(pageObj.currentPage-1)*10+(i+1)?></td>
                <td><?=rows[i].sysPluginGroup.rulesCode?></td>
                <td><?=dictListMap["pluginType"][rows[i].sysPluginGroup.rulesType]?></td>
                <td><?=strUtil.doNull(rows[i].sysPluginGroup.rulesRemark)?></td>
                <td>
                    <button type="button" class="btn btn-warning btn-xs"
                            onclick="toLoad('<?=rows[i].sysPluginGroup.rulesId?>','edit');">修改
                    </button>
                    <button type="button" class="btn btn-danger btn-xs"
                            onclick="toDele('<?=rows[i].sysPluginGroup.rulesId?>');">删除
                    </button>
                    <button type="button" class="btn btn-primary btn-xs"
                            onclick="toCache('pluginsCache','<?=rows[i].sysPluginGroup.rulesCode?>');">
                        查看缓存
                    </button>
                </td>
            </tr>
            <?}?>
        </script>

        <script type="text/template" id="pluginList-template">
            <? for ( var i = 0; i < rows.length; i++) {?>
            <option value="<?=rows[i].sysPluginManager.pluginShortName?>"><?=rows[i].sysPluginManager.pluginRemark?></option>
            <?}?>
        </script>
        <script>
            var clickMenu = "sysPluginGroup-list";
            var id, myPage, dataListId, searchFormId, isShowLog, tableSort, tableId;
            myPage = 10;
            dataListId = "dataList";
            searchFormId = "searchForm";
            tableId = "rulesId";
            isShowLog = true;
            var pluginTypeMap = {};
            var defSysEname = strUtil.doNull(strUtil.getLocalStorage("sysEname"), "");
            submitFormId = "addForm";
//            $("#searchForm_sysName").attr("data-condition","uctSys.w_sysEname="+defSysEname);
//            $("#submitFormData_sysName").attr("data-condition","uctSys.w_sysEname="+defSysEname);
            $(".sysEname").val(defSysEname);
            $("#span-sysname-text").text(defSysEname+"-"+strUtil.getLocalStorage("sysCname"));
            /**
             * 初始化数据字典，id传入#id 返回值Map用法：dictListMap["userType"][rows[i].userType]
             */
            var dictListMap = DictUtil.initDictAndDymic();
            $(function () {
                //1、加载分页列表数据
                getTableData();

                //2、控制是否启用token
                //setToken();

            });


            //读取（查询、编辑）数据
            function toLoad(id, type) {
                var paramLoadData = {
                    "pageName": "sysPluginGroup-list","formName": "searchForm",
                    "sysPluginGroup.w_rulesId": id
                };
                loadObj(type, paramLoadData);
            }

            function toDele(id) {
                var index_submit = layer.confirm('您确定要删除信息吗？', {
                        btn: ['Yes', 'No'],
                        closeBtn: 0,
                        offset: '220px'
                    }
                    , function () {
                        layer.close(index_submit);
                        var paramLoadData = {
                            "pageName": "sysPluginGroup-list","formName": "delForm",
                            "sysPluginGroup.w_rulesId": id
                        };
                        $.ajax({
                            type: "post",
                            url: common_submit_url,
                            data: paramLoadData,
                            dataType: "json",
                            success: function (myData) {
                                var result = myData.flag;
                                if (result == "T") {
                                    layer.alert("删除操作成功");
                                    refresh();
                                }
                            }
                        });
                    });
            }

            //反显数据
            function showData(type, myData) {
                if ("view" == type) {
                    $("#my_modal_view").modal("show");

                } else if ("edit" == type) {
                    submitFormId = "editForm";
                    $("#addForm").attr("id", submitFormId);
                    $("#" + submitFormId + " input[name='formName']").val(submitFormId);
                    //FormUtil.fillData("#"+submitFormId, myData,"id");
                    $("#w_" + tableId).val(myData.rulesId);
                    $("#my_modal").modal("show");
                }
                FormUtil.loadView("sysPluginGroup", myData.sysPluginGroup);
            }

            function getPluginList() {
                var condionSysName = "plateform";
                if (!strUtil.isNull(defSysEname)) {
                    condionSysName += "," + defSysEname;
                }
                $.ajax({
                    type: 'get',
                    url: common_list_url,
                    data: {
                        "pageName": "sysPluginManager-list",
                        "formName": "searchForm",
                        "orderBy": "sysPluginManager.plugin_type",
                        "sysPluginManager.wi_sysName": condionSysName
                    },
                    dataType: 'json',
                    async: false,
                    success: function (myData) {
                        console.log("getPluginList",myData);
                        var rulesName = $("#rulesName").val();
                        var data = baidu.template("pluginList-template", eval(myData));
                        $("#search").html(data);
                        if (null != rulesName && "" != rulesName) {
                            var rulesNameGroup = rulesName.split(",");//需要反显得插件
                            var dateRows = myData.rows;//所以插件
                            var temp_html = "",temp_to_html = "";
                            var i = 0;
                            var j = 0;
                            for (i = 0; i < rulesNameGroup.length; i++) {
                                for (j = 0; j < dateRows.length; j++) {
                                    if (rulesNameGroup[i] == dateRows[j].pluginShortName) {
                                        temp_to_html += "<option value='" + rulesNameGroup[i] + "'>" + dateRows[j].pluginRemark + "</option>";
                                    }
                                }
                            }
                            $("#search_to").html(temp_to_html);
                        }

                    }
                });
            }

            $(function () {

                $('#' + dataListId + ' tbody').on('click', 'tr', function (e) {
                    if ($(this).hasClass('selected')) {
                        //$(this).removeClass('selected');
                    }
                    else {
                        $('tr.selected').removeClass('selected');
                        $(this).addClass('selected');
                    }
                    id = $('tr.selected td').eq(0).html();
                    //  console.log($('tr.selected td').eq(1).html())
                });


            });

            //加载列表数据
            function getTableData() {
                $.ajax({
                    type: 'get',
                    url: common_list_url,
                    data: $("#" + searchFormId).serialize() + getCurrentPage(common_list_url + "?" + $("#" + searchFormId).serialize(), myPage),
                    dataType: 'json',
                    success: function (myData) {
                        var data = baidu.template(dataListId + "-template", eval(myData));
                        $("#dataListTotalCount").text(myData.total);
                        $("#" + dataListId + "-body").html(data);
                        var option = {
                            ele: $("#" + dataListId + "-page")[0],
                            total: myData.total,
                            fn: getTableData,
                            url: common_list_url + "?" + $("#" + searchFormId).serialize()
                        }
                        generatePages(option);
                    }
                });
            }

            //设置模态框隐藏事件
            $('#my_modal').on('show.bs.modal', function (e) {
                $.ajax({
                    type: 'get',
                    url: '${ctx}/sendPage/token?token=true',
                    dataType: 'json',
                    success: function (myData) {
                        $('#formToken').val(myData);
                    }
                });


                //加载js文件
                $.getScript(ctx + "/common/plateform/plugins/multiselect/multiselect.min.js").done(function () {
                    $("#search").multiselect({
                        search: {
                            left: '<input type="text" name="q" class="form-control" placeholder="Search..." />',
                            right: '<input type="text" name="q" class="form-control" placeholder="Search..." />',
                        },
                        afterMoveToRight: function ($left, $right, $options) {
                            var value = "";
                            $("#search_to option").each(function () {
                                if (value != null && value != "") {
                                    value = value + "," + $(this).val();
                                } else {
                                    value = $(this).val()
                                }
                            });
                            $("#rulesName").val(value);
                        },
                        afterMoveToLeft: function ($left, $right, $options) {
                            var value = "";
                            $("#search_to option").each(function () {
                                if (value != null && value != "") {
                                    value = value + "," + $(this).val();
                                } else {
                                    value = $(this).val()
                                }
                            });
                            $("#rulesName").val(value);
                        }
                    });
                    getPluginList();
                });


            });

            //打开添加页面
            function toAdd() {
                mytools.cleanData('#submitFormData');//情况模态窗口内数据
                $("#w_" + tableId).val("");
                $(".datepicker").val("");
                $('#my_modal').modal('show');
                getNextRulesCode(defSysEname);
            }

            //获取对象值
            function loadObj(type, paramData) {
                $.ajax({
                    type: 'get',
                    url: common_info_url,
                    data: paramData,
                    async: false,
                    dataType: "json",
                    success: function (myData) {
                        showData(type, myData);
                    }
                });
            }

            function loadCache(){
                var index_load = layer.msg("数据同步进行中。。。",{time:false});
                $.ajax({
                    type:'post',
                    url: common_cache_url+"init",
                    data:{"pageName":"sysPluginGroup-list","formName":"initiCacheForm","sysPluginGroup.w_sysName":defSysEname},
                    dataType:'json',
                    success: function(myData){
                        console.log("sysPluginGroup.initiCacheForm",myData);
                        layer.close(index_load);
                        layer.alert(myData.msg);
                    }
                });
            }

            /**
             * 表单数据提交
             * @param formId
             */
            function save() {
                /**
                 var validate = $('#' + submitFormId).data('bootstrapValidator').validate();
                 if (!validate.isValid()) { //如果校验不通过就返回
        return;
    }**/

                if (strUtil.isNull($("#submitFormData_rulesCode").val())) {
                    layer.tips('此项不能为空！', '#submitFormData_rulesCode', {tips: 3});
                    $('#submitFormData_rulesCode').focus();
                    return;
                }
                if (strUtil.isNull($("#rulesName").val())) {
                    layer.tips('请从上面选择“组合规则名称”信息！', '#rulesName', {tips: 1});
                    $('#rulesName').focus();
                    return;
                }
                if (strUtil.isNull($("#addForm_pluginType").val())) {
                    layer.tips('此项不能为空！', '#addForm_pluginType', {tips: 3});
                    return;
                }
                if (strUtil.isNull($("#rulesRemark").val())) {
                    layer.tips('此项不能为空！', '#rulesRemark', {tips: 3});
                    $('#rulesRemark').focus();
                    return;
                }

                var index_submit = layer.confirm('您确定要提交信息吗？', {
                        btn: ['Yes', 'No'],
                        closeBtn: 0,
                        offset: '220px'
                    }
                    , function () {
                        layer.close(index_submit);
                        $.ajax({
                            type: "post",
                            url: common_submit_url,
                            data: $("#" + submitFormId).serialize(),
                            dataType: "json",
                            success: function (myData) {
                                //console.log(myData);
                                if (myData.flag == "T") {
                                    layer.alert("数据保存成功");
                                    $("#my_modal").modal("hide");
                                } else {
                                    layer.alert(myData.msg);
                                }
                                refresh();
                            }
                        });
                    });
            }

            //关闭win
            function cannel(type) {
                if (strUtil.isNull(type)) {
                    $('#my_modal').modal('hide');
                } else {
                    $('#my_modal_' + type).modal('hide');
                }
            }

            function refresh() {
                getTableData();
            }


            function setToken() {
                $.ajax({
                    type: 'get',
                    url: '${ctx}/sendPage/token?token=true',
                    dataType: 'text',
                    success: function (myData) {
                        //console.log(myData);
                        $('#formToken').val(myData);
                    }
                });
            }

            //得到下一个规则号码
            function getNextRulesCode(sysname) {
                if (!strUtil.isNull(sysname)) {
                    $.ajax({
                        type: 'get',
                        url: common_list_url,
                        data: {
                            'sysPluginGroup.w_sysName': sysname,
                            'pageName': 'sysPluginGroup-list',
                            'formName': 'searchForm'
                        },
                        dataType: 'json',
                        success: function (myData) {
                            var nextCodeVal = sysname + "Plugins" + (myData.total * 1 + 1);
                            $("#submitFormData_rulesCode").val(nextCodeVal);
                        }
                    });
                }
            }

            function toCache(spaceName, shortName) {
                $.ajax({
                    type: 'get',
                    url: common_cache_url + 'view',
                    data:{"cacheSpaceName":spaceName,"cachekey":"plugin_"+shortName},
                    dataType: 'json',
                    success: function (myData) {
                        console.log(myData);
                        if (myData.flag == "T") {
                            layer.open({
                                title: '查看缓存信息',
                                type: 1,
                                skin: 'layui-layer-demo', //样式类名
                                closeBtn: 0, //不显示关闭按钮
                                anim: 2,
                                shadeClose: true, //开启遮罩关闭
                                area: ['500px', '300px'],
                                content: "<div style='word-break:break-all;word-wrap:break-word;width:100%;padding:5px;'>" + myData.msg +"</div>"
                            });
                        } else {
                            layer.alert(myData.msg);
                        }
                    }
                });
            }

            /**
             $(".modal").on('shown.bs.modal', function () {
    $(this).find("form").each(function () {
        var formId = $(this).attr("id");
        if (!strUtil.isNull(formId)) {
            formId = "#" + formId;
            setValidate(formId);//定义add表单验证属性
            mytools.cleanValidate(formId);//清空上次校验组合规则提示
        }
    });
});
             function setValidate(id) {
    $(id).each(function () {
        $(this).bootstrapValidator({
            feedbackIcons: {
                valid: 'glyphicon glyphicon-ok',
                invalid: 'glyphicon glyphicon-remove',
                validating: 'glyphicon glyphicon-refresh'
            },
            fields: {
            }
        });
    });
}
             **/
        </script>


    </div>
    <!-- /.content-wrapper -->
    <!-- foot start -->
    <%@include file="/common/plateform/foot.jsp" %>
    <!-- foot start -->


</body>


</html>
